package com.ruoyi.staff.service.impl;

import com.ruoyi.staff.domain.FamilyMember;
import com.ruoyi.staff.mapper.FamilyMemberMapper;
import com.ruoyi.staff.service.IFamilyMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FamilyMemberServiceImpl implements IFamilyMemberService {

    @Autowired
    private FamilyMemberMapper familyMemberMapper;

    @Override
    public int insertFamilyMember(FamilyMember familyMember) {
        return familyMemberMapper.insertFamilyMember(familyMember);
    }
}
